package com.yitao.cms.service.order;

import com.yitao.client.dto.order.OrderShopRefundLogDto;
import com.yitao.client.model.order.OrderShopRefundLogModel;
import com.yitao.client.model.order.QOrderShopRefundLogModel;

import com.skipper.base.service.GenericEntityService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.*;

@Service
public class CmsOrderShopRefundLogService extends GenericEntityService<OrderShopRefundLogModel, OrderShopRefundLogDto, QOrderShopRefundLogModel> {

    public CmsOrderShopRefundLogService(EntityManager entityManager) {
        super(entityManager);
    }

    @Transactional
    public void save(OrderShopRefundLogModel orderShopRefundLogModel) {
        repository.save(orderShopRefundLogModel);
    }
}